

import { createApp } from 'vue'
import App from './05-全局状态管理.vue'
import router from './router'
import { createPinia } from 'pinia'
import  persistedstate from  'pinia-plugin-persistedstate'
const pinia = createPinia()
const app = createApp(App)
pinia.use(persistedstate)
app.use(router)
app.use(pinia)
app.mount('#app')